/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Manrope', sans-serif;

    background: #F8F7F3;

    color: #0C1C35;

    min-height: 100vh;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "DM Sans", sans-serif;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    width: 100%;
    height: 92px;

    background: #0C1C35;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 55px;

    position: sticky;
    top: 0;

    z-index: 1000;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);

}


.logo {

    width: 80px;
    height: 85px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.logo img {

    width: 95px;
    height: 95px;

    object-fit: contain;

}



/* =====================================================
   NAVIGATION
===================================================== */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 8px;

}


.nav-menu a {

    color: white;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.3px;

    padding: 10px 14px;

    border-radius: 9px;

    transition: 0.25s;

}


.nav-menu a:hover {

    background:
        rgba(255, 255, 255, 0.10);

}


.nav-menu a.active {

    background: #9C98D1;

    color: white;

}



/* =====================================================
   SIGN UP BUTTON
===================================================== */

.signup-btn {

    background: #D39E31 !important;

    color: white !important;

    padding: 10px 18px !important;

}


.signup-btn:hover {

    background: #B98525 !important;

}



/* =====================================================
   LOGIN PAGE
===================================================== */

.login-page {

    min-height:
        calc(100vh - 92px);

    padding: 40px 6%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(
            135deg,
            #F8F7F3,
            #F1EDE3
        );

}


.login-section {

    width: 100%;

    max-width: 1150px;

    min-height: 650px;

    background: white;

    border-radius: 22px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 1fr 1fr;

    box-shadow:
        0 35px 80px rgba(12, 28, 53, 0.25),
        0 15px 35px rgba(12, 28, 53, 0.15);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.login-section:hover {

    transform: translateY(-10px);

    box-shadow:
        0 45px 100px rgba(12, 28, 53, 0.32),
        0 25px 55px rgba(0, 0, 0, 0.18);

}



/* =====================================================
   LEFT IMAGE SIDE
===================================================== */

.login-image-side {

    position: relative;

    overflow: hidden;

    min-height: 650px;

    background: #0C1C35;

}


.login-image-side img {

    width: 100%;
    height: 100%;

    position: absolute;

    top: 0;
    left: 0;

    object-fit: cover;

}


.image-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    background:

        linear-gradient(
            180deg,

            rgba(12, 28, 53, 0.25),

            rgba(12, 28, 53, 0.92)
        );

}


.login-image-content {

    position: absolute;

    bottom: 0;
    left: 0;

    z-index: 2;

    padding: 55px;

    color: white;

}


.image-tag {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #F3C35B;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 15px;

}


.login-image-content h1 {

    font-size: 43px;

    line-height: 1.18;

    font-weight: 700;

    margin-bottom: 15px;

}


.login-image-content h1 span {

    color: #D39E31;

}


.login-image-content p {

    color: #D7DEE8;

    font-size: 13px;

    line-height: 1.8;

    max-width: 400px;

    margin-bottom: 25px;

}


/* =====================================================
   IMAGE FEATURES
===================================================== */

.image-features {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

}


.image-features div {

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 11px;

    color: white;

}


.image-features i {

    color: #D39E31;

    font-size: 14px;

}



/* =====================================================
   RIGHT FORM SIDE
===================================================== */

.login-form-side {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 45px;

}


.login-box {

    width: 100%;

    max-width: 410px;

}


.mobile-logo {

    display: none;

}



/* =====================================================
   LOGIN HEADING
===================================================== */

.section-label {

    display: inline-block;

    color: #D39E31;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.7px;

    margin-bottom: 10px;

}


.login-heading h2 {

    color: #0C1C35;

    font-size: 30px;

    line-height: 1.3;

    margin-bottom: 10px;

}


.login-heading p {

    color: #64748B;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 30px;

}

/* =====================================================
   LOGIN ERROR
===================================================== */

.login-error {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    padding: 10px 12px;

    margin-bottom: 4px;

    border: 1px solid #F1D5D5;
    border-radius: 8px;

    background: #FFF7F7;
    color: #B84A4A;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.login-error i {
    flex-shrink: 0;

    color: #C85A5A;
    font-size: 13px;
}

/* =====================================================
   FORM
===================================================== */

.login-form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.form-group label {

    color: #0C1C35;

    font-size: 12px;

    font-weight: 600;

}



/* =====================================================
   INPUT
===================================================== */

.input-wrapper {

    width: 100%;

    height: 50px;

    position: relative;

    display: flex;

    align-items: center;

}


.input-wrapper > i {

    position: absolute;

    left: 16px;

    color: #94A3B8;

    font-size: 16px;

    z-index: 2;

}


.input-wrapper input {

    width: 100%;
    height: 100%;

    border:

        1px solid
        #DCE1E8;

    border-radius: 9px;

    outline: none;

    padding:

        0 48px;

    font-size: 12px;

    color: #0C1C35;

    background: #FAFAF8;

    transition: 0.25s;

}


.input-wrapper input::placeholder {

    color: #A0A9B7;

}


.input-wrapper input:focus {

    border-color: #D39E31;

    background: white;

    box-shadow:

        0 0 0 3px
        rgba(211, 158, 49, 0.10);

}



/* =====================================================
   SHOW PASSWORD
===================================================== */

.toggle-password {

    position: absolute;

    right: 12px;

    width: 32px;
    height: 32px;

    border: none;

    background: transparent;

    color: #94A3B8;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 3;

}


.toggle-password:hover {

    color: #D39E31;

}



/* =====================================================
   LOGIN OPTIONS
===================================================== */

.login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: -5px;

}


.remember-me {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #64748B;

    font-size: 11px;

    cursor: pointer;

}


.remember-me input {

    width: 14px;
    height: 14px;

    accent-color: #D39E31;

    cursor: pointer;

}


.forgot-password {

    color: #D39E31;

    font-size: 11px;

    font-weight: 600;

}


.forgot-password:hover {

    color: #B98525;

}



/* =====================================================
   LOGIN BUTTON
===================================================== */

.login-btn {

    width: 100%;
    height: 50px;

    border: none;

    border-radius: 9px;

    background: #0C1C35;

    color: white;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    transition: 0.25s;

    margin-top: 5px;

}


.login-btn:hover {

    background: #172D4C;

    transform: translateY(-2px);

    box-shadow:

        0 8px 20px
        rgba(12, 28, 53, 0.20);

}



/* =====================================================
   DIVIDER
===================================================== */

.login-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 25px 0 18px;

    color: #A0A9B7;

    font-size: 10px;

}


.login-divider::before,
.login-divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background: #E5E7EB;

}



/* =====================================================
   SIGN UP TEXT
===================================================== */

.signup-text {

    text-align: center;

}


.signup-text p {

    color: #64748B;

    font-size: 12px;

}


.signup-text a {

    color: #D39E31;

    font-weight: 600;

    margin-left: 3px;

}


.signup-text a:hover {

    color: #B98525;

}

/* =====================================================
   HAMBURGER
===================================================== */

.hamburger {
    display: none;

    width: 45px;
    height: 45px;

    border: none;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 2px;

    background: white;

    border-radius: 5px;
}


/* =====================================================
   SIDEBAR OVERLAY
===================================================== */

.sidebar-overlay {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    visibility: hidden;

    transition: 0.35s ease;

    z-index: 2000;
}


.sidebar-overlay.show {
    opacity: 1;

    visibility: visible;
}

/* =====================================================
   SIDEBAR
===================================================== */

.sidebar-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 300px;
    height: 100vh;

    background: #0C1C35;

    padding: 25px;

    transform: translateX(-100%);

    transition: transform 0.4s ease;

    z-index: 3000;

    box-shadow:
        8px 0 30px rgba(0, 0, 0, 0.25);
}

.sidebar-menu.open {
    transform: translateX(0);
}

/* =====================================================
   SIDEBAR HEADER
===================================================== */

.sidebar-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 25px;

    margin-bottom: 20px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.10);
}

/* LOGO */

.sidebar-header img {
    width: 75px;
    height: 75px;

    object-fit: contain;
}

/* CLOSE BUTTON */

.close-sidebar {
    width: 42px;

    height: 42px;

    border: none;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.08);

    color: white;

    font-size: 18px;

    cursor: pointer;

    transition: 0.25s;
}


.close-sidebar:hover {
    background:
        rgba(255, 255, 255, 0.15);
}


/* =====================================================
   SIDEBAR LINKS
===================================================== */

.sidebar-links {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


/* NORMAL LINKS */

.sidebar-links > a,
.sidebar-services-btn {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px 16px;

    border-radius: 10px;

    color: white;

    font-size: 15px;

    font-weight: 500;

    background: transparent;

    border: none;

    cursor: pointer;

    text-align: left;

    transition: 0.25s;
}


.sidebar-links > a:hover,
.sidebar-services-btn:hover {
    background:
        rgba(255, 255, 255, 0.10);

    color: #ffffff;
}

/* =====================================================
   SERVICES BUTTON
===================================================== */

.sidebar-services-btn {
    justify-content: space-between;
}


.sidebar-services-btn span {
    display: flex;

    align-items: center;

    gap: 14px;
}

/* =====================================================
   SERVICES DROPDOWN
===================================================== */

.sidebar-services {
    display: none;

    flex-direction: column;

    margin-left: 18px;

    padding-left: 18px;

    border-left:
        2px solid #D39E31;
}


.sidebar-services.show {
    display: flex;
}

.sidebar-services a {
    padding: 10px 0;

    color: #B8C2D1;

    font-size: 14px;

    transition: 0.25s;
}


.sidebar-services a:hover {
    color: #D39E31;

    padding-left: 5px;
}

/* =====================================================
   SIDEBAR SIGN UP
===================================================== */

.sidebar-links .sidebar-signup {
    margin-top: 15px;

    justify-content: center;

    background: #D39E31;

    color: white;

    font-weight: 600;
}


.sidebar-links .sidebar-signup:hover {
    background: #B98525;
}



/* =====================================================
   HIDE NORMAL NAVBAR WHEN SIDEBAR OPENS
===================================================== */

.nav-hidden {
    opacity: 0;

    transform: translateX(30px);

    visibility: hidden;

    pointer-events: none;
}


/* =====================================================
   TABLET / HALF SCREEN
===================================================== */
@media (max-width: 800px) {

    .navbar {
        height: 75px;
        padding: 0 20px;

        justify-content: space-between;
    }

    /* HAMBURGER KIRI */
    .hamburger {
        display: flex;
        order: 1;
    }

    /* LOGO KANAN */
    .logo {
        order: 2;

        width: 65px;
        height: 68px;
    }

    .logo img {
        width: 75px;
        height: 75px;
    }

    /* HIDE DESKTOP NAV */
    .nav-menu {
        display: none;
    }

}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {


    .navbar {

        padding: 0 30px;

    }


    .login-page {

        padding: 30px;

    }


    .login-section {

        grid-template-columns:
            0.9fr 1.1fr;

    }


    .login-image-content {

        padding: 35px;

    }


    .login-image-content h1 {

        font-size: 34px;

    }


    .login-form-side {

        padding: 35px;

    }


}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {


    .navbar {

        height: 75px;

        padding: 0 20px;

    }


    .logo {

        width: 65px;
        height: 68px;

    }


    .logo img {

        width: 75px;
        height: 75px;

    }


    .nav-menu {

        gap: 2px;

    }


    .nav-menu a {

        display: none;

    }


    .nav-menu .active {

        display: block;

        background: transparent;

        padding: 8px;

    }


    .nav-menu .signup-btn {

        display: block;

        padding: 8px 13px !important;

    }


    .login-page {

        min-height:

            calc(100vh - 75px);

        padding: 20px;

    }


    .login-section {

        grid-template-columns:
            1fr;

        min-height: auto;

    }


    .login-image-side {

        display: none;

    }


    .login-form-side {

        padding:

            45px 25px;

    }


    .mobile-logo {

        display: flex;

        width: 85px;

        height: 85px;

        margin:

            0 auto 20px;

        align-items: center;

        justify-content: center;

    }


    .mobile-logo img {

        width: 100%;

        height: 100%;

        object-fit: contain;

    }


    .login-heading {

        text-align: center;

    }


    .login-heading h2 {

        font-size: 27px;

    }


}



/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {


    .login-page {

        padding: 10px;

    }


    .login-form-side {

        padding:

            35px 20px;

    }


    .login-heading h2 {

        font-size: 24px;

    }


    .login-options {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

    }


}

/* =====================================================
   FOOTER
===================================================== */

/* =====================================================
   FOOTER
===================================================== */

.footer {
    width: 100%;

    background: #08172B;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 18px 20px;
}

.footer-bottom {
    max-width: 1150px;

    margin: auto;

    text-align: center;
}

.footer-bottom p {
    color: #56657A;

    font-size: 10px;
}

/* =====================================================
   FORGOT PASSWORD - BACK TO LOGIN
===================================================== */

.forgot-back-login {
    margin-top: 24px;
    text-align: center;
}

.forgot-back-login a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #d39e31;
    text-decoration: none;

    font-size: 12px;
    font-weight: 500;

    transition: 0.2s ease;
}

.forgot-back-login a:hover {
    color: #b98218;
}

.forgot-back-login a i {
    font-size: 12px;
}